home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / a_man / cat1m / cluster_mgr.z / cluster_mgr
Encoding:
Text File  |  2002-10-03  |  10.5 KB  |  199 lines

  1.  
  2.  
  3.  
  4. cccclllluuuusssstttteeeerrrr____mmmmggggrrrr((((1111mmmm))))                                                cccclllluuuusssstttteeeerrrr____mmmmggggrrrr((((1111mmmm))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      cluster_mgr, cmgr - IRIS FailSafe Cluster Manager Command-Line Interface
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      cccclllluuuusssstttteeeerrrr____mmmmggggrrrr [ ----pppp ] [ ----cccc "_c_o_m_m_a_n_d" ] [ ----ffff _f_i_l_e_n_a_m_e ] [ ----iiii ]
  13.  
  14.      ccccmmmmggggrrrr [ ----pppp ] [ ----cccc "_c_o_m_m_a_n_d" ] [ ----ffff _f_i_l_e_n_a_m_e ] [ ----iiii ]
  15.  
  16. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.      Cluster Manager is a command-line interface tool used to configure and
  18.      administer an IRIS FailSafe 2 cluster.  An IRIS FailSafe administrator
  19.      can use the Cluster Manager to perform FailSafe configuration and
  20.      administration tasks.  The cluster manager commands can be scripted.  You
  21.      must be root in order to run Cluster Manager.
  22.  
  23.      Cluster Manager commands are built around actions and objects. The major
  24.      Cluster Manager actions are:
  25.  
  26.  
  27.      aaaaddddmmmmiiiinnnn       Admin commands are for administrative tasks such as moving a
  28.                  resource group to a particular node or reseting a node:
  29.  
  30.                  cmgr> aaaaddddmmmmiiiinnnn rrrreeeesssseeeetttt nnnnooooddddeeee ssssrrrrvvvvrrrr1111
  31.  
  32.      ddddeeeeffffiiiinnnneeee      These commands are used to define new IRIS FailSafe objects.
  33.                  Here is an example for the command to define a new cluster:
  34.  
  35.                  cmgr> ddddeeeeffffiiiinnnneeee cccclllluuuusssstttteeeerrrr tttteeeesssstttt____cccclllluuuusssstttteeeerrrr
  36.  
  37.      ddddeeeelllleeeetttteeee      These commands delete the object definitions. For example:
  38.  
  39.                  cmgr> ddddeeeelllleeeetttteeee ffffaaaaiiiilllloooovvvveeeerrrr____ppppoooolllliiiiccccyyyy oooorrrrddddeeeerrrreeeedddd----iiiinnnn----oooorrrrddddeeeerrrr
  40.  
  41.      hhhheeeellllpppp        Help command. To view help for a specific topic, enter the
  42.                  topic at the "help >" prompt.  You can drill down topic by
  43.                  topic in help or go directly to a particular help topic by
  44.                  including the topic with the help command. Use _q_u_i_t  to exit
  45.                  help.
  46.  
  47.                  cmgr> hhhheeeellllpppp
  48.  
  49.                  help > ddddeeeeffffiiiinnnneeee
  50.  
  51.                  help define > cccclllluuuusssstttteeeerrrr
  52.  
  53.                  - or -
  54.  
  55.                  cmgr> hhhheeeellllpppp ddddeeeeffffiiiinnnneeee cccclllluuuusssstttteeeerrrr
  56.  
  57.      iiiinnnnssssttttaaaallllllll     Command installs resource_types into a particular cluster:
  58.  
  59.                  cmgr> iiiinnnnssssttttaaaallllllll rrrreeeessssoooouuuurrrrcccceeee____ttttyyyyppppeeee NNNNFFFFSSSS iiiinnnn cccclllluuuusssstttteeeerrrr tttteeeesssstttt____cccclllluuuusssstttteeeerrrr
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. cccclllluuuusssstttteeeerrrr____mmmmggggrrrr((((1111mmmm))))                                                cccclllluuuusssstttteeeerrrr____mmmmggggrrrr((((1111mmmm))))
  71.  
  72.  
  73.  
  74.      mmmmooooddddiiiiffffyyyy      These commands modify the IRIS FailSafe object definitions.
  75.  
  76.      sssshhhhoooowwww        Shows IRIS FailSafe objects:
  77.  
  78.                  cmgr> sssshhhhoooowwww cccclllluuuusssstttteeeerrrr tttteeeesssstttt____cccclllluuuusssstttteeeerrrr
  79.  
  80.      ssssttttaaaarrrrtttt       Start IRIS FailSafe HA services:
  81.  
  82.                  cmgr> ssssttttaaaarrrrtttt hhhhaaaa____sssseeeerrrrvvvviiiicccceeeessss iiiinnnn cccclllluuuusssstttteeeerrrr tttteeeesssstttt____cccclllluuuusssstttteeeerrrr
  83.  
  84.      ssssttttoooopppp        Stops IRIS FailSafe HA services:
  85.  
  86.                  cmgr> ssssttttoooopppp hhhhaaaa____sssseeeerrrrvvvviiiicccceeeessss iiiinnnn cccclllluuuusssstttteeeerrrr tttteeeesssstttt____cccclllluuuusssstttteeeerrrr
  87.  
  88.      qqqquuuuiiiitttt        Quits Cluster Manager.
  89.  
  90.      tttteeeesssstttt        Tests defined IRIS FailSafe objects:
  91.  
  92.                  cmgr> tttteeeesssstttt rrrreeeessssoooouuuurrrrcccceeee ////ddddiiiisssskkkk4444 ooooffff rrrreeeessssoooouuuurrrrcccceeee____ttttyyyyppppeeee NNNNFFFFSSSS iiiinnnn cccclllluuuusssstttteeeerrrr
  93.                  tttteeeesssstttt____cccclllluuuusssstttteeeerrrr oooonnnn nnnnooooddddeeee ssssrrrrvvvvrrrr1111
  94.  
  95.      When entering a Cluster Manager command, all objects are specified first
  96.      with the object type and then with the name of that object.  When
  97.      defining a new cluster, for example, the object cluster must be used and
  98.      the name of the cluster to be defined:
  99.  
  100.      cmgr> ddddeeeeffffiiiinnnneeee cccclllluuuusssstttteeeerrrr tttteeeesssstttt____cccclllluuuusssstttteeeerrrr
  101.  
  102.      The syntax includes the action to be performed - ddddeeeeffffiiiinnnneeee - the type of
  103.      object affected - cccclllluuuusssstttteeeerrrr - and the name of the new cluster to be defined
  104.      - tttteeeesssstttt____cccclllluuuusssstttteeeerrrr.
  105.  
  106.      IRIS FailSafe objects include: cccclllluuuusssstttteeeerrrrssss,,,, nnnnooooddddeeeessss,,,, ffffaaaaiiiilllloooovvvveeeerrrr____ppppoooolllliiiicccciiiieeeessss,,,,
  107.      rrrreeeessssoooouuuurrrrcccceeeessss,,,, rrrreeeessssoooouuuurrrrcccceeee____ttttyyyyppppeeeessss,,,, rrrreeeessssoooouuuurrrrcccceeee____ggggrrrroooouuuuppppssss,,,, lllloooogggg____ggggrrrroooouuuuppppssss,,,, aaaannnndddd
  108.      hhhhaaaa____ppppaaaarrrraaaammmmeeeetttteeeerrrrssss.
  109.  
  110.      Users can set environment variable CCCCMMMMGGGGRRRR____SSSSTTTTAAAARRRRTTTTUUUUPPPP____FFFFIIIILLLLEEEE to a cluster_mgr
  111.      script.  This script is executed when cluster_mgr is started.  The
  112.      cluster_mgr startup script can contain _s_e_t and _s_h_o_w commands.
  113.  
  114.      For more information please see the _I_R_I_S _F_a_i_l_S_a_f_e _A_d_m_i_n_i_s_t_r_a_t_o_r'_s _G_u_i_d_e.
  115.  
  116. OOOOPPPPTTTTIIIIOOOONNNNSSSS
  117.      ----pppp          Prompt mode. Additional prompting for defining and modifying
  118.                  FailSafe objects.
  119.  
  120.      ----cccc "_c_o_m_m_a_n_d"
  121.                  Executes command without interactively entering Cluster
  122.                  Manager. Acceptable commands include: _s_h_o_w, _d_e_l_e_t_e, _a_d_m_i_n,
  123.                  _i_n_s_t_a_l_l, _s_t_a_r_t, _s_t_o_p, _t_e_s_t, and _h_e_l_p.
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. cccclllluuuusssstttteeeerrrr____mmmmggggrrrr((((1111mmmm))))                                                cccclllluuuusssstttteeeerrrr____mmmmggggrrrr((((1111mmmm))))
  137.  
  138.  
  139.  
  140.      ----ffff _f_i_l_e_n_a_m_e Executes input file containing Cluster Manager commands.
  141.  
  142.      ----iiii          Ignore option. Must be used with ----ffff _f_i_l_e_n_a_m_e option. This
  143.                  option tells Cluster Manager not to exit if a command fails
  144.                  while executing a script.
  145.  
  146. NNNNOOOOTTTTEEEESSSS
  147.      There are two ways to execute a Cluster Manager script:
  148.  
  149.      1) Command line execution:
  150.  
  151.           # cccclllluuuusssstttteeeerrrr____mmmmggggrrrr ----ffff ffffiiiilllleeee____nnnnaaaammmmeeee
  152.  
  153.      2) Script execution with first line of the script containing:
  154.  
  155.           ####!!!!////uuuussssrrrr////cccclllluuuusssstttteeeerrrr////bbbbiiiinnnn////cccclllluuuusssstttteeeerrrr____mmmmggggrrrr ----ffff
  156.  
  157.           _I_M_P_O_R_T_A_N_T:
  158.  
  159.           When using the ----iiii option with a script file, use this syntax:
  160.  
  161.           ####!!!!////uuuussssrrrr////cccclllluuuusssstttteeeerrrr////bbbbiiiinnnn////cccclllluuuusssstttteeeerrrr____mmmmggggrrrr ----iiiiffff
  162.  
  163. FFFFIIIILLLLEEEESSSS
  164.      ////uuuussssrrrr////cccclllluuuusssstttteeeerrrr////bbbbiiiinnnn////ttttbbbbiiii____hhhheeeellllpppp....ccccaaaatttt
  165.           Help message catalog file.
  166.  
  167.      ////uuuussssrrrr////cccclllluuuusssstttteeeerrrr////bbbbiiiinnnn////ttttbbbbiiii____hhhheeeellllpppp....ccccaaaatttt....mmmm
  168.           Help message catalog file.
  169.  
  170. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  171.      failsafe(1M)
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.